package cn.yaoud.salus.oms.alarm.feishu.bot.msg;

import cn.yaoud.salus.oms.alarm.feishu.bot.msg.card.Card;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 消息卡片
 *
 * @author 唐彪
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class CardMsg extends Msg {
    /**
     * 卡片消息
     */
    private Card card;

    public CardMsg(Card card) {
        this.card = card;
        setMsgType(MsgTypeEnum.CARD.getType());
    }
}
